표 형식에서 데이터를 나타내는 열 그룹의 제목 또는 레이블이 작성된 셀로 구성된 행 그룹을 나타낸다.
<caption>
및 <colgroup>
요소 뒤와 <tbody>
, <tfoot>
및 <tr>
요소 앞에 위치한다. <thead>
요소는 <table>
요소의 자식으로 한 개만 가능하다.
0
개 이상의 <tr>
및 스크립트 지원(script supporting) 요소
<thead>
요소 바로 뒤에 <tbody>
또는 <tfoot>
요소가 오는 경우 <thead>
요소의 종료 태그를 생략할 수 있다.
[Exposed=Window]
interface HTMLTableSectionElement : HTMLElement {
[HTMLConstructor] constructor();
[SameObject] readonly attribute HTMLCollection rows;
HTMLTableRowElement insertRow(optional long index = -1);
[CEReactions] undefined deleteRow(long index);
// also has obsolete members
};
<table> <thead> <tr><th></th><th></th></tr> <tr><th></th><th></th></tr> </thead> </table>
일부 글로벌 애트리뷰트는 이 요소에서 사용되지 않을 수 있다.
일부 글로벌 이벤트 핸들러는 이 요소에서 사용되지 않을 수 있다. 이벤트 등록은 자바스크립트 사용을 권장한다.